﻿namespace PMRC.API.Model.WeChat
{
    /// <summary>
    /// 访问令牌响应模型
    /// </summary>
    public class AccessTokenResponse
    {
        /// <summary>
        /// 访问令牌
        /// </summary>
        public string AccessToken { get; set; }

        /// <summary>
        /// 有效期（秒）
        /// </summary>
        public int ExpiresIn { get; set; }

        /// <summary>
        /// 用户刷新访问令牌的令牌
        /// </summary>
        public string RefreshToken { get; set; }

        /// <summary>
        /// 授权用户唯一标识
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 用户授权的作用域
        /// </summary>
        public string Scope { get; set; }
    }
}
